package com.Threecharacters.Poly_.Poly1;

public class Test {
    public static void main(String[] args) {
        Animals animals = new Dog();
        animals.cry();

        animals = new Cat();
        animals.cry();
    }
}
